import request from '@/utils/request'
export interface getshareType {
    pageSize: number,
    currentPage: number
}
export default {
   
    //获取请加列表
    getAllLeave: (data: getshareType) => request.post("/getAllLeave", data),
    //管理员批假
    updateLeave: (data: any) => request.put("/updateLeave", data),

}